package com.weather.mobile.client;

import com.weather.mobile.domain.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name="CITY-LIST-CLIENT")
public interface CityClient {

    @RequestMapping("/cityList")
    public List<City> cityList();
}
